.fm-slider-wrapper {
    background: #000;
    max-width: 100%;
    overflow: hidden;
    perspective: 1000px;
    position: relative;
    margin: auto;
    transform-style: preserve-3d;
}

.position {
    color: #fff;
    z-index: 1;
    position: absolute;
}

.slide {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

.slide.fade {
    opacity: 0;
    transition: opacity 0s ease 1s, visibility 0s ease 1s;
    visibility: hidden;
}

.slide.slide-in {
    transform: translateX(100%);
    transition: transform 0s ease 1s;
}

.slide.fold {
    transform: rotateX(-90deg);
    transform-origin: top;
    transition: transform 0s ease 1s;
}

.slide.zoom {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0s ease 1s, visibility 0s ease 1s;
}

.slide.zoom img {
    transform: scale(1);
    transition: transform 0s ease 1s;
}

.slide img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.slide.active {
    position: relative;
    z-index: 1;
}

.slide.active.fade {
    opacity: 1;
    transition: opacity 1s ease 0s, visibility 1s ease 0s;
    visibility: visible;
}

.slide.active.slide-in {
    transform: translateX(0);
    transition: transform 1s ease 0s;
}

.slide.active.fold {
    transform: rotateX(0);
    transition: transform 1s ease 0s;
}

.slide.active.zoom {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease 0s, visibility 1s ease 0s;
}

.slide.active.zoom img {
    transform: scale(1.2);
    transition: transform 7s ease 0s;
}

.content-wrapper {
    position: absolute;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    top: 0;
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity .5s ease 0s, transform .5s ease .5s;
    padding: 0 30px;
}

.slide.active .content-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease .5s, transform 1s ease .5s;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: rgba(0, 0, 0, 0);
    font-size: 40px;
    transition: color .5s ease 0s;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

/* Position the "next button" to the right */
.next {
    right: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    color: #fff;
}

/* The dots/bullets/indicators */
.pagination-wrapper {
    z-index: 2;
    position: absolute;
    bottom: 0;
    padding: 0 30px 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background: #000;
    border-radius: 50%;
    transition: background .5s ease 0s; 
}

.dot.active,
.dot:hover {
    background: #fff;
}